package Account;

/**
 * @author: zxy
 * @date: 2024/5/20 19:11
 * @version: 1.0
 */
public class Account_Test {
    public static void main(String[] args) {
        CheckAccount checkAccount = new CheckAccount(1122,20000,0.045,20000);
        checkAccount.withdraw(2500);
        checkAccount.deposit(3000);
        System.out.println("余额为：" + checkAccount.getBalance() + "\t" + "月利率为：" + checkAccount.getMonthlyInterest());
    }
}
